package avicit.cbb.businessclass.fondsmanage.service;

import java.io.IOException;
import java.util.Map;
import java.util.Vector;

import avicit.cbb.businessclass.fondsmanage.domain.DSConfigBean;

public interface ParseDSConfigService {
	/**
	 * 读取xml配置文件
	 * @param path
	 * @return
	 * @throws Exception 
	 */
	@SuppressWarnings("rawtypes")
	public Vector readConfigInfo(String path) throws Exception;

	/**
	 *增加配置文件
	 * @throws IOException 
	 *
	 */
	public void addConfigInfo(String path, DSConfigBean dsb) throws Exception;

	/**
	 *删除配置文件
	 * @throws IOException 
	 */
	public void delConfigInfo(String path, String name) throws Exception;
	
	/**
	 * 获取数据源信息
	 * @param paramMap
	 * @return
	 * @throws Exception 
	 */
	@SuppressWarnings("rawtypes")
	public Vector getDsConfigInfo(Map<String,Object> paramMap) throws Exception;
	
}
